* {
    margin: 0;
    padding: 0;
}
html body {
    font-family: "微软雅黑";
    font-size: 14px;
    text-align: center;
    text-align: center;
}
@media (max-width: 350px) {
    html body {
        font-size: 12px;
    }
}
.commond_bottom {
    background: url("../img/end-bg.png") repeat-x;
    background-size: contain;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 1.2em;
    color: #fff1d3;
    z-index: 900;
    ul {
        overflow: hidden;
        list-style: none;
        box-sizing: border-box;
        padding: 5% 5px 10px;
        li {
            padding: 1% 0;
            box-sizing: border-box;
            float: left;
            width: 33%;
        }
    }
    .my_award {
        border-right: 1px solid #d3a655;
    }
    .activity_rule {
        border-right: 1px solid #d3a655;
    }
}
.page1_wrap {
    text-align: center;
    z-index: 1;
    min-height: 480px;
    .logo {
        width: 44%;
        position: absolute;
        top: 2%;
        left: 3vw;
        img {
            width: 100%;
        }
    }
    .body_bg {
        width: 100%;
        img {
            width: 94%;
            padding-left: 5.7vw;
        }
    }
    .font {
        width: 82.7%;
        margin: 6% auto;
        img {
            width: 100%;
        }
    }
    .begin {
        width: 80%;
        margin: 15% auto;
        img {
            width: 100%;
        }
    }
}
@media (max-width: 350px) {
    .begin {
        margin: 5% auto !important;
    }
}
//page2
.page2_wrap {
    text-align: center;
    .title_img {
        z-index: 1;
        width: 100%;
        margin-top: -4%;
        position: relative;
        img {
            width: 100%;
        }
    }
    .select_question {
        position: relative;
        z-index: 100;
        margin: -7.5% auto;
        background: url("../img/select-bg.png") 100% no-repeat;
        background-size: contain;
        width: 96%;
        ul {
            font-size: 1.2em;
            color: #48342d;
            list-style: none;
            padding-top: 1%;
            padding-bottom: 5%;
            li {
                width: 80%;
                margin: -1% auto;
                padding: 5% 0 8%;
                background: url("../img/guankabg.png") no-repeat;
                background-size: contain;
            }
            li:first-child {
                margin-top: 9%;
            }
        }
    }
}
//page3
.page3_wrap {
    position: relative;
    .section {
        position: absolute;
        top: 45%;
        left: 37vw;
        font-size: 1.2em;
        color: #fff;
        letter-spacing: 0.5em;
        z-index: 200;
    }
    .bgimg{
        z-index: 400;
        position: absolute;
        top: 18%;
        width: 100%;
        img{
            width: 100%;
        }
    }
    .question_box {
        border: 1px solid rgba(0,0,0,0);
        position: relative;
        z-index: 10;
        margin: -5.5% auto;
        width: 96%;
        font-size: 1.1em;
        z-index: 401;
        .time {
            margin: 2% auto;
            overflow: hidden;
            width: 83%;
            font-size: 1.2em;
            padding: 2% 0 0;
            #time {
                float: left; 
                background: url("../img/time.png") 100% no-repeat;
                padding: 3%;
                background-size: contain;
                color: #fff; 
            }
            #number {
                margin-top: 3.5%;
                float: right;
                color: #af8701;
            }
        }
        .question {
            position: relative;
            margin: 5% auto;
            width: 80%;
            text-align: justify;
            margin-bottom: 30%;
            .selection {
                ul {
                    list-style: none;
                    li:first-child {
                        margin-top: 4%;
                    }
                    li {
                        background: #ededed;
                        margin-bottom: 4%;
                        border-radius: 50px;
                        padding: 4px 4%;
                        overflow: hidden;
                        p {
                            display: inline-block;
                            float: left;
                        }
                        span {
                            float: left;
                            display: inline-block;
                            width: 85%;
                        }
                    }
                }
            }
        }
    }
}
//page4
.page4_wrap {
    .have_reward {
        margin: -5.5% auto;
        border: 4px solid #bf1a20;
        width: 94%;
        background-color: #fff9ee;
        letter-spacing: 1px;
        border-radius: 10px;
        .elapsed {
            font-size: 1.1em;
            padding-top: 11%;
            span {
                color: #bf1a20;
            }
        }
        .xueba_img {
            margin: 5% auto;
            width: 55%;
            position: relative;
            .chenghao{
                color: #17355b;
                position: absolute;
                top: 38%;
                left: 35%;
            }
            img {
                width: 100%;
            }
        }
        .font {
            line-height: 170%;
            span {
                color: #bf1a20;
            }
        }
        .my_get {
            margin: 5% auto;
            width: 85%;
            color: #fff;
            background-color: #f5a305;
            border-radius: 1200px;
            padding: 3% 0;
            font-size: 1.2em;
        }
        .btns {
            margin: 0 auto;
            color: #ca9734;
            width: 85%;
            font-size: 1.2em;
            overflow: hidden;
            p {
                width: 45%;
                background-color: #fed072;
                display: inline-block;
                padding: 3% 0;
                border-radius: 1200px;
                margin-bottom: 5%;
            }
            p:first-child {
                float: left;
            }
            p:last-child {
                float: right;
            }
        }
    }
}
// 所有弹窗
.hidden {
    display: none;
}
.background ,.share-background{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    z-index: 1000;
}
//我的奖品
.my_award_list {
    display: none;
    z-index: 2000;
    position: fixed;
    top: 11%;
    left: 3.2vw;
    width: 92%;
    border: 1px solid rgba(0,0,0,0);
    max-height: 70%;
    min-height: 70%;
    height: 100%;
    .bgimg{
      position: absolute;
      width: 100%;
      img{
          width: 100%;
      }
    }
    
    .list {
        position: relative;
        margin: 20% auto;
        width: 94%;
        font-size: 1.2em;
        overflow: scroll;
        height: 90%;
        z-index: 100;
        ul {
            list-style: none;
            li {
                border: 1px solid rgba(0 ,0 ,0, 0);
                background: url("../img/jianglibg.png") no-repeat;
                background-size: contain;
                overflow: hidden;
                margin-bottom: 14%;
                width: 87%;
                margin: 0 auto 5%;
                padding-top: 5px;
                div {
                    display: inline-block;
                    font-size: 1.1em;
                }
                .left {
                    float: left;
                    padding: 2% 0 2% 5%;
                }
                .right {
                    float: right;
                    padding: 2% 2% 4% 0;
                    color: #fff;
                }
            }
        }
        .img {
            margin: 4% auto;
            width: 85%;
            img {
                width: 100%;
            }
        }
    }
    .close {
        width: 35px;
        height: 35px;
        position: absolute;
        top: 0;
        right: 5px;
         z-index: 1000;
    }
}
@media (max-width: 350px) {
    .my_award_list {
        position: fixed;
        top: 2%;
        .list{
             height: 100%;
        }
    }
}


//排行榜
.ranking {
    display: none;
    z-index: 2000;
    position: fixed;
    top: 15%;
    left: 4vw;
    width: 92%;
    border: 1px solid rgba(0,0,0,0);
    max-height: 70%;
    min-height: 70%;
    font-size: 1.2em;
    .bgimg{
      position: absolute;
      width: 100%;
      img{
          width: 100%;
      }
    }
    .js_list{
        position: relative;
        table {
            margin: 15% auto;
            width: 98%;
            border: none;
            tr {
                border: none;
            }
            th {
                color: #999999;
                padding: 10px;
            }
            td {
                padding: 10px;
                white-space: nowrap;
                max-width: 130px;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            tr:nth-child(2n) {
                background-color: #fff8ea;
            }
            img {
                width: 20px;
            }
        }
    }
    .img {
        margin: 34% auto;
        width: 70%;
        img {
            width: 100%;
        }
    }
    .close {
        width: 35px;
        height: 35px;
        position: absolute;
        top: 0;
        right: 5px;
        z-index: 1000;
    }
}
@media (max-width: 350px) {
    .ranking {
        position: fixed;
        top: 8%;
        table {
            th {
                padding: 4px !important;
            }
            td {
                padding: 4px;
            }
        }
    }
}

//闯关规则
#activity_rule{
    z-index: 2000;
    position: fixed;
    top: 6%;
    left: 6vw;
    width: 88%;
    border: 1px solid rgba(0,0,0,0);
    max-height: 83%;
    min-height: 83%;
    font-size: 1.2em;
    height: 100%;
    .bgimg{
      position: absolute;
      width: 100%;
      img{
          width: 100%;
      }
    }
    .wrap{
        position: relative;
        margin:15% auto;
        width: 90%;
        height: 100%;
        .detail{
            width: 100%;
            max-height: 98%;
            ul{
                color: #48342d;
                list-style: none;
                font-size: .9em;
                li{
                    text-align: justify;
                    overflow: hidden;
                    padding-bottom: 4px;
                    p{
                        display: inline-block;
                        float: left;
                    }
                    span{
                        width: 90%;
                        display: inline-block;
                        float: right;
                    }
                    .more{
                        margin: 0 auto;
                        width: 60%;
                        img{
                            width: 100%;
                        }
                    }
                }
            }
            .time{
                padding-bottom: 1px;
            }
            .color{
                color: #af8701;
            }
        }
    }
    .close {
        width: 35px;
        height: 35px;
        position: absolute;
        top: 0;
        right: 5px;
        z-index: 1000;
    }
}
@media (max-width: 330px) {
    #activity_rule {
        position: fixed;
        top: 2%;
        left: 10vw;
        width: 80%;
        .wrap{
            width: 78%;
            .detail{
                margin: auto;
                width: 100%;
                height: 93%;
                overflow: scroll;
            }
        }
    }
}

//闯关规则2
#activity_rule_two{
    display: none;
    z-index: 2000;
    position: fixed;
    top: 10%;
    left: 4vw;
    width: 92%;
    border: 1px solid rgba(0,0,0,0);
    max-height: 83%;
    min-height: 83%;
    background: url("../img/bgtitle3.png") 0% 0% no-repeat;
    background-size: contain;
    font-size: 1.2em;
    .wrap{
        margin:17% auto;
        width: 90%;
        p{
            padding-bottom: 8px;
        }
        .color{
            color: #af8701;
        }
        .detail{
            ul{
                color: #48342d;
                list-style: none;
                font-size: .9em;
                li{
                    text-align: justify;
                    overflow: hidden;
                    padding-bottom: 6px;
                    p{
                        display: inline-block;
                        float: left;
                    }
                    span{
                        width: 90%;
                        display: inline-block;
                        float: right;
                    }
                    .more{
                        margin: 0 auto;
                        width: 60%;
                        img{
                            width: 100%;
                        }
                    }
                }
                li:last-child{
                    color: #968580;
                }
                spa{
                    display: inline !important; 
                    color: #bf171f;
                }
            }
        }
    }
    .close {
        width: 35px;
        height: 35px;
        position: absolute;
        top: 0;
        right: 5px;
    }
}
 @media (max-width: 330px) {
    #activity_rule_two {
        position: fixed;
        top: 4%;
        left: 5vw;
        width: 92%;
        .wrap{
          
        }
    }
}

//答题错误
.err_answer{
    display: none;
    z-index: 1000;
    position: fixed;
    top: 33%;
    left: 15vw;
    width: 70%;
    background-color: rgba(0,0,0,.7);
    font-size: 1.2em;
    color: #fff;
    border-radius: 5px;
    .title{
        padding-top: 3%;
        color: #fd7a6c;
        a{
            position: relative;
            top: 3px;
            display: inline-block;
            width: 22px;
            height: 22px;
            background: url(../img/err_answer.png) center no-repeat;
            background-size: contain;
            padding-right: 5px;
        }
    }
    .explain{
        font-size: 0.9em;
        text-align: justify;
        padding: 3% 10%;
    }
    p{
        margin: 5% auto;
        padding: 2% 0;
        border: 1px solid #fff;
        border-radius: 100px;
        width: 70%;
    }
}

//领取弹窗
.draw{
    display: none;
    z-index: 1000;
    position: fixed;
    top: 33%;
    left: 15vw;
    width: 70%;
    background: url(../img/bg.png) repeat;
    font-size: 1.2em;
    border-radius: 5px;
    .title{
        padding-top: 5%;
    }
    .btns{
        margin-top: 10%;
        margin-bottom: 7%;
        color: #fff;
        p{
            display: inline-block;
            width: 42%;
            padding: 2% 0;
        }
        .cancle{
            background-color: #c9c9c9;
            border-radius: 100px;
            margin-right: 5%;
        }
        .err{
            background-color: #f4a339;
            border-radius: 100px;
        }
    }
}

//闯关成功
.congratulation{
    display: none;
    z-index: 1000;
    position: fixed;
    top: 23%;
    left: 10vw;
    width: 80%;
    font-size: 1.2em;
    border-radius: 5px;
    background: #fff;
    background: url(../img/gunxi.png) center no-repeat;
    background-size: cover;
    .title{
        padding-top: 50%;
        color: #fff;
        span{
            color: #ffde9c;
        }
    }
    .btns{
        margin-top: 10%;
        margin-bottom: 7%;
        color: #ffde9c;
        p{
            display: inline-block;
            width: 42%;
            padding: 2% 0;
            border: 1px solid #ffde9c;
            border-radius: 100px;
        }
        .yes{
            background-color: #c01920;
            margin-right: 5%;
        }
        .contion{
            background-color: #c01920;
        }
    }
}


//用户信息
.user_info{
    display: none;
    z-index: 1000;
    position: fixed;
    top: 23%;
    left: 8.6vw;
    width: 80%;
    background: url(../img/bg.png) repeat;
    font-size: 1.2em;
    border-radius: 5px;
    border: 4px solid #48342d;
    .title{
        padding-top: 5%;
        color: #af8701;
        p{
            display: inline-block;
            width: 30%;
            height: 3px;
            background: url(../img/huangtiao.png) no-repeat center;
            background-size: contain;
            position: relative;
            top: -4px;
        }
    }
    .user_box{
        margin: 5% auto;
        width: 90%;
        .userinfo{
            div{
                border: 1px solid #b2b2b2;
                width: 88.833%;
                margin: auto;
                background-color: #ffffff;
                padding: 2% 0;
                text-align: left;
                text-indent: 0.3em;
                border-radius: 4px;
            }
            input {
                width: 75%;
                border: none;
                font-size: 0.8em;
                padding-left: 5px;
                font-size: 1em;
            }
            p {
                text-align: left;
                padding-left: 24%;
                letter-spacing: 0;
                font-size: 0.8em;
            }
        }
        .note{
            font-size: 0.9em;
            color: #808080;
        }
        .errName,
        .errNum {
            color: #fff;
            opacity: 0;
        }
    }
    .btns{
        margin-top: 10%;
        margin-bottom: 7%;
        color: #ffde9c;
        p{
            display: inline-block;
            width: 42%;
            padding: 2% 0;
            border-radius: 100px;
        }
        .yes{
            background-color: #c01920;
            margin-right: 5%;
            color: #fff;
            background-color: #f4a339;
        }
        .contion{
            background-color: #fed072;
            color: #b68115;
        }
        
    }
}
//分享朋友
.share {
    display: none;
    position: fixed;
    right: 0;
    top: 0;
    width: 60%;
    z-index: 1000;
    img {
        width: 100%;
    }
}
.have_success{
    display: none;
    z-index: 1000;
    position: fixed;
    top: 35%;
    left: 30vw;
    width: 40%;
    background: rgba(0,0,0,.7);
    font-size: 1.2em;
    border-radius: 5px;
    color: #fff;
    padding: 8% 4%;
}
